# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
#
# Note: git-secret is very badly designed, I'll replace this abuild once
#   I find or write something better.
pkgname=git-secret
pkgver=0.3.2
pkgrel=0
pkgdesc="A bash-tool to store your private data inside a git repository"
url="https://git-secret.io/"
arch="noarch"
license="MIT"
depends="bash gnupg"
checkdepends="bats"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/sobolevn/git-secret/archive/v$pkgver.tar.gz"
options="!check"  # does not work in a container w/o tty

build() {
	make
}

check() {
	make test
}

package() {
	make PREFIX="$pkgdir/usr" install
}

sha512sums="201c7d965457c0f60905251241d89031e26ca9fac13fced0321f09c4f4f7911cd96de3970c1ed308736c89f322fc487e8d7d3ddc77958aded48c2a202996a09b  git-secret-0.3.2.tar.gz"
